-- GENERATED SPELL FOR [Highland Thrasher] --


function spell0_2560(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_2560', 563, 1)
end

function Sorts_2560(pUnit, Event)
local choix_sorts_2560 = math.random(0, 0)
if choix_sorts_2560 == 0 then
pUnit:RegisterEvent('spell0_2560', 1, 1)
end
end

function mob2560_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2560', math.random(1500, 3000), 1)
end

function mob2560_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2560_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2560_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2560, 1, 'mob2560_Action')
RegisterUnitEvent(2560, 2, 'mob2560_Leave')
RegisterUnitEvent(2560, 3, 'mob2560_Kill')
RegisterUnitEvent(2560, 4, 'mob2560_Die')
